package com.course.service;
/*
@author By 林中小鸟
@package  com.self.introduction.component.util
@create 2021 - 11 - 2021\11\26 0026
@QQ: 357182695
@Em: themooncss@gmail.com
*/


import com.course.component.http.requ.RequestFile;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.Map;

public interface FilesUploadService {

    HashMap uploadFiles(MultipartFile multipartFile);

    Resource loadFileAsResource(String fileName);

    Map<String,String> storeFile(MultipartFile file);

    Map<String,String> storeFileShard(RequestFile requestFile);
}
